<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>输入和输出语法</title>
</head>
<body>
    <script>

        //文档输出内容 向body输出内容 如果输出内容是标签，会被解析成网页元素
        document.write("我是div");
        document.write('<h1>我是标题</h1>')

        let {b, ...a} = {a:1,b:2,c:3};
        console.log('b',b);
        console.log('a',a);

        
    </script>
</body>
</html>